package cn.dglydrpy.study.mmail.common.constant;

/**
 * @author Yyy
 * @date 2024/11/23 18:00
 * @description  商品模块常量
 */
public class ProductConstant {
//    private static final Integer ATTR_TYPE_BASE = 1;
//    private static final Integer ATTR_TYPE_SALE = 0;
    
    public enum AttrEnum{
        ATTR_TYPE_SALE(0,"销售属性"),
        ATTR_TYPE_BASE(1,"基本属性"),
        ATTR_TYPE_SEARCH(2,"检索属性");
        private int code;
        private String msg;
        AttrEnum(int code,String msg){
            this.code = code;
            this.msg = msg;
        }
        public int getCode(){
            return code;
        }
        public String getMsg(){
            return msg;
        }
    }
}
